import Opt from '@/components/dt/info/Opt.js'
let _this = null
class Column extends Opt {
  constructor(vm) {
    super()
    _this = vm
    this.build()
  }
  build() {
    this.createAll()
    this.opts.push(...this.all)
  }
  createAll() {
    this.all = [

      {
        field: 'operator',
        title: '操作人',
        minWidth: 160,
        // slots: {
        //   default: (params, h) => {
        //     return params.row.isReceiver == 1 && _this.receiverFlag ?
        //       `${params.row.userName}（承接人）` : params.row
        //       .userName
        //   }
        // }
      },
      {
        field: 'operationTime',
        title: '操作时间',
        minWidth: 160,
        // visible: false
      },

      {
        field: 'content',
        title: '记录内容',
        minWidth: 260,
      },

    ]
  }
}
export default Column